import request from '@/utils/request'

// 查询考点盟市信息列表
export function listExam_center_city(query) {
  return request({
    url: '/exam_center_city/exam_center_city/list',
    method: 'get',
    params: query
  })
}

// 查询考点盟市信息详细
export function getExam_center_city(id) {
  return request({
    url: '/exam_center_city/exam_center_city/' + id,
    method: 'get'
  })
}

// 新增考点盟市信息
export function addExam_center_city(data) {
  return request({
    url: '/exam_center_city/exam_center_city',
    method: 'post',
    data: data
  })
}

// 修改考点盟市信息
export function updateExam_center_city(data) {
  return request({
    url: '/exam_center_city/exam_center_city',
    method: 'put',
    data: data
  })
}

// 删除考点盟市信息
export function delExam_center_city(id) {
  return request({
    url: '/exam_center_city/exam_center_city/' + id,
    method: 'delete'
  })
}
